﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;

namespace logic
{
    public class home
    {
        public static void insert(HomeEntity home)
        {
            Home.insert(home);
        }

        public static void update(HomeEntity home)
        {
            Home.update(home);
        }

        public static void delete(int homeId)
        {
            Home.delete(homeId);
        }

        public static HomeEntity getById(int homeId)
        {
            return Home.getById(homeId);
        }
        public static DataTable list()
        {
            return Home.list();
        }
    }
}
